<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" />
		<link rel="stylesheet" href="css/Site.css" />
		<link rel="stylesheet" href="css/zy.all.css" />
		<link rel="stylesheet" href="css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/amazeui.min.css" />
		<link rel="stylesheet" href="css/admin.css" />
		<!--		在标题栏的左侧显示图标 href:图标地址-->
		<link rel="icon" href="images/logo/favicon.ico" type="image/x-icon">
		<!--		在收藏夹里面显示图标 href:图标地址-->
		<link rel="shortcut icon" href="images/logo/favicon.ico" type="image/x-icon">
		<script src="js/jquery.min.js" type="text/javascript"></script>
	    <script type="text/javascript">

			//页面加载的时候，查询用户的登录记录
			$(function () {
				$.ajax({
					url:"user_getLogs",
					dataType:"json",
					type:"post",
					success:function (result) {
						//alert(JSON.stringify(result));
						for(var i=0;i<result.data.length;i++){
							var log=result.data[i];
							$("#data").append("<tr><td>"+log.uname+"</td><td>"+log.logintime+"</td><td>"+log.logincity+"</td><td>"+log.loginip+"</td></tr>");
						}
					}
				});
			});

		</script>
	</head>
	<body>
		<div class="dvcontent">

			<div>
				<!--tab start-->
				<div class="tabs">
					<div class="hd">
						<ul style="">
							<li style="box-sizing: initial;-webkit-box-sizing: initial;" class="on">我的足迹</li>
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1">
									<table class="table" id="tbRecord">
										<thead>
											<tr>
												<th>登录账号</th>
												<th>登录时间</th>
												<th>登录城市</th>
												<th>登录IP</th>
											</tr>
										</thead>
										<tbody id="data">

											<!--<tr>
												<td>admin</td>
												<td>2010-10-10 11:11:11</td>
												<td>成都</td>
												<td>127.0.0.1</td>
											</tr>-->

										</tbody>
									
									</table>
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						<ul class="theme-popbod dform" style="display: none;">
							<div class="am-cf admin-main" style="padding-top: 0px;">
			<!-- content start -->
			
	
		<!-- content end -->
	</div>
							<!-- end-->
						</ul>
					</div>
				</div>
				<!--tab end-->

			</div>

			
			 <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
              <script src="js/plugs/Jqueryplugs.js" type="text/javascript"></script>
              <script src="js/_layout.js"></script>
             <script src="js/plugs/jquery.SuperSlide.source.js"></script>
			<script>
				var num = 1;
				$(function() {

				 $(".tabs").slide({ trigger: "click" });

				});

	
				

			</script>

		</div>
	</body>

</html>